package jsyf.oa.facade.report.mineCustomer;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * Created by 92852 on 2018/4/5.
 * 吴江华
 */
@Path("/customerReportService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface CustomerReportFacade {

    @Path("/getForPersonalCustomerList ")
    JSONObject getForPersonalCustomerList(String jsonData);

    @Path("/getCompanyCustomerList ")
    JSONObject getForCompanyCustomerList(String jsonData);

    @Path("/getGroupCustomerList ")
    JSONObject getForGroupCustomerList(String jsonData);

    @Path("/getAllCustomerList ")
    JSONObject getAllCustomerList(String jsonData);

    @Path("/getCompanyByCompanyId ")
    JSONObject getDepartByCompanyId(String jsonData);

    @Path("/getForDepartCustomerList ")
    JSONObject getForDepartCustomerList(String jsonData);

    @Path("/getAllCustomerListByCompanyId ")
    JSONObject getAllCustomerListByCompanyId(String jsonData);

    @Path("/getCustomerById ")
    JSONObject getCustomerById(String jsonData);

    @Path("/saveIntentCustomerInfo ")
    JSONObject saveIntentCustomerInfo(String jsonData);

}
